import request from '@/utils/request'

export function InvoiceRecordsAdd(data) {
  return request({
    url: `api/yxStoreInvoiceRecords`,
    method: 'post',
    data
  })
}
export function InvoiceRecordsEdit(data) {
  return request({
    url: `api/yxStoreInvoiceRecords`,
    method: 'put',
    data
  })
}
export function InvoiceRecordsDel(data) {
  return request({
    url: `api/yxStoreInvoiceRecords`,
    method: 'delete',
    data
  })
}
export function sendInvoice(data) {
  return request({
    url: `api/email/invoice/sendInvoice`,
    method: 'post',
    data
  })
}

